package cim3d;

/**
 * Created by IntelliJ IDEA.
 *
 * @author Dong Shufeng
 *         Date: 2010-5-26
 */
public interface CIMViewConst {
    public static final String ATTRI_DEV_TYPE = "deviceType";
    public static final String ATTRI_DEV_NAME = "deviceName";

    public static final String ATTRI_REGION_MAX_MW = "regionMaxMW";
    public static final String ATTRI_REGION_MAX_MVAR = "regionMaxMvar";
    public static final String ATTRI_REGION_MW = "regionMW";
    public static final String ATTRI_REGION_MVAR = "regionMvar";

    public static final String ATTRI_GEN_MAX_MW = "genMaxMW";
    public static final String ATTRI_GEN_MAX_MVAR = "genMaxMvar";
    public static final String ATTRI_GEN_MW = "genMW";
    public static final String ATTRI_GEN_MVAR = "genMvar";

    public static final String ATTRI_MAX_MW = "maxMW";
    public static final String ATTRI_MAX_MVAR = "maxMvar";
    public static final String ATTRI_MW = "MW";
    public static final String ATTRI_MVAR = "Mvar";

    public static final String ATTRI_P_MEAS = "pMeasId";
    public static final String ATTRI_Q_MEAS = "qMeasId";
    public static final String ATTRI_V_MEAS = "vMeasId";

    public static final String ATTRI_LINE_P_HEAD = "lineHeadPMeasId";
    public static final String ATTRI_LINE_P_TAIL = "lineTailPMeasId";
    public static final String ATTRI_LINE_Q_HEAD = "lineHeadQMeasId";
    public static final String ATTRI_LINE_Q_TAIL = "lineTailQMeasId";
    public static final String ATTRI_LINE_START_TERMINAL_ID = "headTerminalId";
    public static final String ATTRI_LINE_END_TERMINAL_ID = "tailTerminalId"; 
    public static final String ATTRI_LINE_SWITCH = "lineSwitchStateId";

    public static final String DEV_TYPE_REGION = "Region";
    public static final String DEV_TYPE_STATION = "Station";
    public static final String DEV_TYPE_PLANT = "Plant";
    public static final String DEV_TYPE_ACLINE = "ACLine";

    public static final String DATA_SOURCE_SCADA = "scada";
    public static final String DATA_SOURCE_SE = "se";
    public static final String DATA_SOURCE_PMU = "pmu";

    public static final int LINE_SWITCH_OFF = 0;
    public static final int LINE_SWITCH_ON = 1;
    public static final int LINE_SWITCH_UNKOWN = 2;
}
